Talk with your daughter's teacher about what is specifically going on with her. If the problem is that she is seated around other distracted children, it is a simple matter to change her seat to a quieter area. She will outgrow developmental problems, and her attention can improve if the teacher uses stickers or other rewards for work completion.
Develop a plan for you and the teacher to work together to help improve things at school for your daughter. You may want to follow up at home with rewards (an extra bedtime story or a walk around the block just with you) for a good day at school.
You may also want to talk with the school counselor about giving your daughter some individual time or including her in a small group. The counselor can also observe your daughter in the classroom and give you an objective opinion of what is going on there.