St. Paul says, "Rejoice always, pray without ceasing, give thanks in all circumstances; for this is the will of God in Christ Jesus for you."
1 Thessalonians 5:16-18
Prayer
The elevation of the mind and heart to God in praise of his glory; a petition made to God for some desired good, or in thanksgiving for a good received, or in intercession for others before God. Through prayer the Christian experiences a communion with God though Christ in the Church.
Catechism of the Catholic Church (2559-2565)