Perl is primarily used in bioinformatics and computational biology for developing web-based applications and scripts.