Required for pre-mRNA splicing as component of the spliceosome, including pre-catalytic, catalytic and post-catalytic spliceosomal complexes (PubMed:25092792, PubMed:28076346, PubMed:28502770, PubMed:28781166, PubMed:29301961, PubMed:29360106, PubMed:29361316, PubMed:30315277, PubMed:30705154). Component of the U5 snRNP and the U4/U6-U5 tri-snRNP complex, a building block of the spliceosome (PubMed:16723661). As a component of the minor spliceosome, involved in the splicing of U12-type introns in pre-mRNAs (Probable).