Tendinitis is inflammation or irritation of a tendon, which connects muscles to bones. In the knee or hip, tendinitis can affect various tendons, such as the patellar tendon (patellar tendinitis) or the iliotibial band (IT band tendinitis).