MC4 connectors are primarily used to connect solar panels in a solar array. They allow for easy series or parallel wiring of panels.