A solar cell, comprising: a substrate having first edges and second edges, wherein the first edges comprises two opposite edges of the substrate along a second direction and the second edges are comprises two opposite edges of the substrate along a first direction; a passivation layer disposed on the substrate; a plurality of secondary electrodes arranged at intervals along the second direction on the substrate, wherein each of the plurality of secondary electrodes extends along the first direction, and penetrates through the passivation layer to be in contact with the substrate; two first main electrodes, disposed on a surface of the passivation layer, wherein each of the two first main electrodes is close to a corresponding first edge and comprises a plurality of first sub-connection pads arranged at intervals along the second direction and a first connection wire, and the first connection wire is in contact with a side of each of at least one of the plurality of first sub-connection pads close to the corresponding first edge; and at least two second main electrodes, where the at least two second main electrodes are disposed on the surface of the passivation layer, and are disposed between the two first main electrodes, wherein each of the at least two second main electrodes comprises a plurality of second sub-connection pads arranged at intervals along the second direction and a second connection wire, and the second connection wire is in contact with at least one of the plurality of second sub-connection pads, wherein a first pitch (m) between a respective first main electrode and a second main electrode adjacent to the respective first main electrode is not equal to a second pitch (n) between adjacent second main electrodes. a substrate having first edges and second edges, wherein the first edges comprises two opposite edges of the substrate along a second direction and the second edges are comprises two opposite edges of the substrate along a first direction; a passivation layer disposed on the substrate; a plurality of secondary electrodes arranged at intervals along the second direction on the substrate, wherein each of the plurality of secondary electrodes extends along the first direction, and penetrates through the passivation layer to be in contact with the substrate; two first main electrodes, disposed on a surface of the passivation layer, wherein each of the two first main electrodes is close to a corresponding first edge and comprises a plurality of first sub-connection pads arranged at intervals along the second direction and a first connection wire, and the first connection wire is in contact with a side of each of at least one of the plurality of first sub-connection pads close to the corresponding first edge; and at least two second main electrodes, where the at least two second main electrodes are disposed on the surface of the passivation layer, and are disposed between the two first main electrodes, wherein each of the at least two second main electrodes comprises a plurality of second sub-connection pads arranged at intervals along the second direction and a second connection wire, and the second connection wire is in contact with at least one of the plurality of second sub-connection pads, wherein a first pitch (m) between a respective first main electrode and a second main electrode adjacent to the respective first main electrode is not equal to a second pitch (n) between adjacent second main electrodes.