Tomatoes are high in solanine, a kind of alkaloid. Extreme intake of tomatoes, which are high in alkaloid solanine, might cause swelling and discomfort in the joints, according to a study. Solanine is crucial for the accumulation of calcium in the muscles, which causes inflammation.