What ideology did Cuba and Soviet Union share during the Cold War

Cuba and the Soviet Union shared the ideology of communism during the Cold War. Both countries were governed by communist governments, with Cuba being led by Fidel Castro's revolutionary government and the Soviet Union being governed by the Communist Party led by leaders such as Joseph Stalin and later on by Nikita Khrushchev. The two countries were allies and supported each other in various ways, such as through military assistance, economic aid, and ideological solidarity.