Ectopic pregnancy is a serious condition where a fertilized egg implants and develops outside the main cavity of the uterus, most commonly in the fallopian tube. This is a life-threatening condition that requires immediate medical attention and cannot result in a viable pregnancy.