IT band or iliotibial band is a tendon extending from pelvis to knee on outer aspect of thigh.
Sometimes due to excessive tightness of IT band it rubs against pelvis bones or knee bones and causes pain and swelling on outside region of hip or knee. This is called IT band syndrome.
Usually treated with rest, medication, and mainly physical therapy, and rarely surgery.