What is the reason for the month of February only having 28 days or 29 days considering leap years?

Every other month throughout the course of a year has 30 to 31 days.

What is the reason for the month of February only having 28 days or 29 days considering leap years?
Post Opinion