When children can and can't miss school

When children can and can't miss school and what happens if you take your child out of school for a holiday