In this Spiritual Weapon 5E spell you do make a floating, spectral weapon within a specific range which lasts for the specific duration or else until you do cast this dnd spell again. But whenever you cast this, then you can make a melee spell attack which is against to a creature within a 5ft of the weapon. Normally, on a hit, the target would take a force damage that is equal to 1d8+ your spellcasting ability modifier.
On your turn as a bonus action, you can easily move your weapon up to 20 feet and then repeat the attack that’s against to the creature within the distance 5 feet of it.
Also know more about: speak with plants dnd 5e
You can make that weapon into whatever the form you would want to. Clerics of deities those who’re associated with a specific weapon (Like St. Cuthbert is known for his mace and Thor for his hammer) actually make this dnd 5e spiritual weapon spell effect resemble that weapon.
At Higher Levels:
Whenever you cast this spell by using the spell slot of 3rd level or more than 3rd level and the damage would increase by 1d8 for each and every two slot levels above the 2nd level.
Attributes Of D&D Spiritual Weapon
|Add Casting Modifier||Yes|
|Casting Time||1 bonus action|
|Higher Spell Slot Desc||When you cast this spell using a spell slot 3rd level of or higher, the damage increases by 1d8 for every two slot levels above the 2nd.|
|Higher Spell Slot Dice||1|
|Higher Spell Slot Die||D8|