The study of the interactions between organisms and their environment in extraterrestrial environments.