Dengue fever is caused by a type of virus called a flavivirus, which is transmitted by infected female Aedes mosquitoes. You can catch the virus if you are bitten by an infected mosquito. Mosquitoes become infected when they bite an infected person and are able to pass on the virus for the rest of their lives(2-3mths).
Attribution: BUPA