With myasthenia gravis, the immune system cannot tell the difference between helpful and harmful substances.