We extend the correlated basis functions theory (CBF) for nuclei with different number of protons and neutrons and in j-j coupling scheme. By means of the Fermi hypernetted chain integral equations, in conjunction with the single operator chain approximation (FHNC/SOC), we evaluate the ground state and the one-body densities for 40Ca, 48Ca and 208Pb nuclei. The realistic Argonne V8 two-nucleon potentials has been used. We compare the ground-state properties of these nuclei calculated by using correlation functions with and without tensor components.