Quinipine is a medication primarily used as an antimalarial and is derived from the bark of the cinchona tree. It functions by interfering with the growth of malaria parasites in the red blood cells. Additionally, quinipine may have applications in treating certain arrhythmias due to its effects on cardiac rhythm. However, it is important to note that it is not as widely used today, with other treatments available for malaria.