Teriparatide is a synthetic form of parathyroid hormone (PTH) that is used to treat osteoporosis by stimulating bone formation. This medication plays a crucial role in regulating calcium homeostasis and bone metabolism, primarily by increasing osteoblast activity, which leads to enhanced bone density and strength.