Shirk means to give a position to someone which is deserving only of God. For example, God gives rise to grain, but if we believe that someone else is providing us with this food, then that is an example of shirk. Creation is made by God. If it is held that creation or nature has been made by an entity other than God, then that would be regarded as shirk. Thus shirk is attributing to others the traits that only God possesses. Shirk involves making someone or something an equal of God and developing such affection for it as is due to God.
Maulana Wahiduddin Khan