On Earth, the seasons are largely driven by the rotation axis of the planet being inclined at about 23 degrees to the upright. This means that different hemispheres of Earth are presented to the Sun at different times of the year.
Seasons on Mars are influenced by the tilt of its axis and by its varying distance from the Sun. Earth is always about the same distance from the Sun, but the orbit of Mars is more elliptical so, at certain times of its year, it receives more energy than at others, because it is closer to the Sun.
Mars is closest to the Sun (and moving fastest in its orbit) during southern summer. This makes summer in the south of Mars shorter and hotter than summer in the north. Mars has 687 days in a year compared to our 365 days, so martian seasons are longer.