An ectopic pregnancy occurs when a fertilized egg implants itself outside of the uterus. They're also called "t