the Sun does not set for half a year during their respective summer and does not rise for half a year during their winters.
Earth completes one rotation around the sun every 24 hours, which causes the change between day and night.
If Earth was to be perpendicular to its axis, then we would have 12 hours of daylight and 12 hours of night every day on every part of the earth throughout the year.