It's possible, for example, to buy cables with differing ends on them, so you might purchase a cable with a "quarter inch" plug on one end and an "RCA" or "eighth inch" plug on the other (that would be compatible with your DJ mixer) and actually get plugged in.
Can I plug a guitar into a DJ mixer?
DJ mixers are not designed for use with guitars. Instruments such as synths have line level outputs, so can be plugged in just like a CD player, but guitars have a lower output level and prefer a "Hi Z" input (high impedance).
Can I plug my guitar into my stereo?
Plugging into a home stereo or boom box
If you plug your electric guitar into the auxiliary input of your home stereo, you can get away with not buying an amp at all. All you need is a special, inexpensive adapter that you can purchase at any electronic or music store for less than $3.