You could think of it like that - but it actually is just you placing a defender directly on top of the enemy, therefore instantly destroying it.
Good luck on your game development journey also :)