Relaxin is a hormone produced primarily by the corpus luteum during pregnancy. It plays a crucial role in the development and aging of the endocrine system, particularly in the context of reproductive functions and the changes that occur during pregnancy.