FOSAMAX, with the generic name Alendronate, is a prescription medication primarily used to treat and prevent osteoporosis in postmenopausal women and to increase bone mass in men with osteoporosis. It belongs to a class of drugs known as bisphosphonates, which work by inhibiting bone resorption, thereby enhancing bone density and strength.