Another way to say "There are 24 hours in a day." is "A day consists of 24 hours'"