A ring is called a principal ideal domain (PID) if it is an integral domain and every ideal is principal.