In Brief CCC 1415
© Libreria Editrice Vaticana Source: vatican.va
Anyone who desires to receive Christ in Eucharistic communion must be in the state of grace. Anyone aware of having sinned mortally must not receive communion without having received absolution in the sacrament of penance.
Read the full chapter 1. The Sacraments of Christian Initiation ¶1212–1419