taoism and buddhism both include the practice of mediation.
a lot of practices in buddhism and taoism overlap however, nirvana is only a part of buddhism. buddhism doesn’t emphasize the virtue of compassion, i believe this is more of a taoist practice. i also don’t believe that taoism is necessarily to lead a spiritual life of isolation, it’s more about being one with nature. the most reasonable answer would be that both practices include meditation