1. A tissue processing and slide staining system, the system comprising: a chassis; a robotic arm mounted on the chassis, wherein the robotic arm has three degrees of freedom movement; a gripper, wherein the gripper is placed at an end effector of the robotic arm; a plurality of sample baskets to hold samples of tissue; a plurality of reagent containers with lids, wherein each reagent container is filled with a liquid or reagent to process the samples of tissue; a processor configured to control an operation and movement of the robotic arm based on a user defined program; a rule database for storing a plurality of rules for controlling an error in the tissue processing operation and staining process; and a user interface, wherein the user interface is configured to receive inputs and to enable a user to control the tissue processing operation, staining process and a movement of the robotic arm; wherein the processor is configured to perform a tissue processing operation and a slide staining operation simultaneously, and wherein the processor is configured to perform a tissue processing operation and a slide staining operation of a plurality of sample baskets simultaneously with a similar or different processing programs, and wherein the robotic arm is configured to move along X-axis, Y-axis, and Z-axis to insert a sample basket into a reagent container or to remove the sample basket from the reagent container, and wherein the robotic arm is not connected to the lids of the container and the sample basket during a processing of the sample in the reagent container thereby enabling the robotic arm to move a rest of the plurality of sample baskets or a rest of the plurality of containers.