Lego Mindstorms is an expansion set of the well-known LEGO.
With this set you use a control module to have your self-built creation move and perform tasks, after you have provided engines and sensors. With the different sensors that respond to light, touch and sound etc., the possibilities are endless.
Via a laptop or tablet, you can use the LEGO MINDSTORMS EV3 program with a Blockly-like environment to build your codes.