Farabi made contributions to the fields of logic, mathematics, music, philosophy, psychology, and education.