You found a spawner!
You have two choices; you can destroy it or build a grinder around it.

What if you could pick it up? Now you can!

Use a silk touch pickaxe to collect spawners to take home.
Then, you can place the spawner wherever you need them or gift or sell them at the shops.