All new bikes come with a sensor on the side stand/kickstand. Its job is to prevent you from starting off in gear and to get going with the stand up.
This can cause serious problems on a motorcycle. Enduro or supermotard, because it cuts off the ignition as soon as it does not detect the position of the stand.