Everything glorifies Allah, may He be exalted, and to Him belongs the Sovereignty
Allah tells us that whosoever is in the heavens and on the earth, i.e., the angels, mankind, Jinn, animals and even inanimate objects, all glorify Him. This is like the Ayah:
(The seven heavens and the earth and all that is therein, glorify Him) 17:44,
وَالطَّيْرُ صَآفَّـتٍ
(and the birds with wings outspread) means, while they are flying they glorify their Lord and worship Him with the glorification with which they are inspired and to which they are guided. Allah knows what they are doing, and so He says:
كُلٌّ قَدْ عَلِمَ صَلَاتَهُ وَتَسْبِيحَهُ (Everyone knows one's own (way of) praying - 41). In the beginning of the verse it is said that every creature on earth and heavens and in between them is busy in the glorification and sanctification of Allah Ta’ ala. The meaning of Tasbih is explained by Sufyan (رح) that Allah Ta’ ala has created everything in this universe like earth, heavens, sun, moon, stars, water, fire, air or sand with purpose, and they are all performing all the time the task they are assigned. They cannot refuse to perform their assigned job. This obedience and submission to carry out the assigned job is referred here as Tasbih. Hence, their Tasbih is by action and not by words. By their actions they are confirming that they are performing this worship because they believe Allah Ta’ ala to be Pure and Almighty.
What God requires of man, is that he should always remain in the state of submission as demanded by acknowledgement of the Truth. This is the true religion. Viewed from this point, the whole Universe follows the religion of Truth, because everything in the Universe behaves in fact exactly as it should. Take the example of a bird. When a bird spreads its wings and flies in the air, it presents the ultimate example of being in perfect harmony with the eternal world of reality. There is a specific mode of prayer and a way of glorifying God prescribed for every single creature of God, which it is expected to adhere to. Similarly, there is a specific method of glorifying God as prescribed for a human being and he is expected to follow it. If a man indulges in heedless or rebellious behaviour on this score, he shall have to pay a heavy price for it.
Uthmani text of the Madinah mushaf (King Fahd Complex). Translation: Saheeh International. Tafsir via Quran.com.