A crypto miner uses electricity to test cryptographic solutions in order to find a specific one that “solves” a block of transactions on an blockchain. In order to do this, it runs hashing functions on your computer (usually your GPU).
It’s stealing your processing power and electricity; so no it’s not the same as a cryptocurrency miner, which is theft and fraud of a different type.