An initial access broker specialises in gaining access to target organisations before selling that access on underground marketplaces. Ransomware groups commonly purchase this access from them.
Curated Intelligence have written a blog post showing how information flows between the different parties involved this work.