Etanercept is a biologic medication that acts as a tumor necrosis factor (TNF) inhibitor, used primarily in the treatment of autoimmune disorders such as rheumatoid arthritis, psoriatic arthritis, and ankylosing spondylitis. By blocking the action of TNF, a substance in the body that leads to inflammation, etanercept helps reduce symptoms and slows disease progression in these chronic conditions.