The length of a year is 365(\(\frac{1}{4}\))days because that is the time it takes.
Answer Details
A year is defined as the time it takes for the Earth to complete one full revolution (orbit) around the Sun. This orbital period is approximately 365.25 days, which is why we say a year has \(365\frac{1}{4}\) days.
To account for the extra quarter-day, the calendar adds one extra day every four years, creating a leap year of 366 days (29 February).
The other options describe different astronomical motions:
The Sun does orbit the centre of the Milky Way galaxy, but this takes approximately 225-250 million years, not 365 days.
The Moon revolves once around the Earth in approximately 27.3 days (sidereal month) or 29.5 days (synodic month), which defines a lunar month, not a year.
The Earth rotating on its axis takes approximately 24 hours and defines a day, not a year.
The distinction between rotation (spinning on an axis, producing day and night) and revolution (orbiting around another body, producing the year and seasons) is fundamental in physical geography and astronomy.