What is the difference between osteoarthritis and rheumatoid arthritis?

Osteoarthritis is a degenerative condition caused by the wear and tear of the joints. Rheumatoid arthritis is an autoimmune disease that attacks the body.