Hello!
I believe it takes around 365 days for the earth to orbit the sun. This is how many days are also inside a year.
I hope it helps!
9.5m questions
12.2m answers