Why 21 June is the longest day of the year in Northern Hemisphere

Today at Dhaka, the sunrise was at 5:11 am and sunset will be at 6:48 pm, the day length being 13:35:59.