Bayesian Network And Its Application