For some purposes electrons or neutrons are used .
X-rays are most commonly used , but for some purposes electrons or neutrons are used .