The game's mechanics revolve around Shadow's ability to use Chaos Energy, allowing him to perform special attacks like Chaos Control and Chaos Blast. You can also collect Chaos Emeralds scattered throughout the levels, which enhance Shadow's abilities and give him access to special transformations.
If you're looking to use weapons in a Sonic game, you may be thinking of a different game in the series.