Pramipexole is a medication primarily used to treat Parkinson's disease and restless legs syndrome. It acts as a dopamine agonist, stimulating dopamine receptors in the brain to help improve motor function and reduce symptoms associated with these conditions.