Lev 5:6 lays down guidelines for the penitential offering for sins committed with one' knowledge:
And he shall bring his trespass offering unto the Lord for his sin which he hath sinned, a female from the flock, a lamb or a kid of the goats, for a sin offering; and the priest shall make an atonement for him concerning his sin.
Verse 15 lays down the penance for sin committed on account of ignorance:
If a soul commit a trespass, and sin through ignorance, in the holy things of the Lord; then he shall bring for his trespass unto the Lord a ram without blemish out of the flocks, with thy estimation by shekels of silver, after the shekel of the sanctuary, for a trespass offering.
Note the difference in gender of the sacrificial animal in the two groups of sins. What, according to scholars, was the relevance of specifying the gender of the sacrificial animal?