Only partially! They're heavily influenced by the time the sun rises. Your body's internal clock is actually 24 hours 11 minutes long on average. The only reason it doesn't drift hopelessly out of sync is that the sunrise "resets" it each day! (https://news.harvard.edu/gazette/story/1999/07/human-biologi...)